#pragma once
#include <GameLogic/Config.h>

namespace catan
{
	class UIConfig : public Config
	{
	public:
		template<class type> type Get(const SI_CHAR* section, const SI_CHAR* key, type def) const;
		template<class type> void Set(const SI_CHAR* section, const SI_CHAR* key, type def) ;

		UIConfig(SI_CHAR* filePath)
			: Config(filePath)
		{

		}
		~UIConfig(void) {}

		core::recti GetRect(const SI_CHAR* section, const SI_CHAR* key, core::recti def = core::recti()) const;

// 		template<> core::recti Get<core::recti>(const SI_CHAR* section, const SI_CHAR* key, core::recti def = core::recti()) const;
// 		template<> void Set(const SI_CHAR* section, const SI_CHAR* key, core::recti def) ;


	};
}